// 短信相关接口
import { get, post } from '@/server/http';

// 发送短信验证码
export const sendSmsCode = data => {
  return get('sms', data);
};
// 验证码登陆
export const loginBySmsCode = data => {
  return post('smslogin', data);
};
